package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysHpRoadConditionInfoRowMapper implements RowMapper<SysHpRoadConditionInfo>{



	@Override
	public SysHpRoadConditionInfo mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysHpRoadConditionInfo  lj= new SysHpRoadConditionInfo();
		lj.setRoadId(rs.getString("roadId"));
		lj.setRoadLevel(rs.getInt("roadLevel"));
		lj.setNostopSpeed(rs.getDouble("nostopSpeed"));
		lj.setSpeed(rs.getDouble("speed"));
		lj.setRecordTime(rs.getString("recordTime"));
		lj.setUpdateTime(rs.getString("updateTime"));
		lj.setLen(rs.getDouble("len"));
		lj.setNostop_travel_time(rs.getDouble("nostop_travel_time"));
		lj.setTravel_time(rs.getDouble("travel_time"));
		return lj;
	}

}
